package com.gitee.feizns.web.domain.page;

import java.util.List;

/**
 * @author feizns
 * @since 2019/7/18
 */
public class RowBoundsPageVoRet<R> implements PageVoRet<R> {

    private RowBoundsPageVo pageVo;

    private List<R> records;

    public RowBoundsPageVoRet(PageAo pageAo, List<R> records) {
        this.pageVo = new RowBoundsPageVo(pageAo);
        this.records = records;
    }

    @Override
    public PageVo getPage() {
        return pageVo;
    }

    @Override
    public List<R> getRecords() {
        return records;
    }

}
